package lab02.Test14;

/**
 * Created by mac on 2017/10/25.
 */
public class Shape {

    //属性：

    float length;
    float width;
    float radius;

    //行为：计算对象的面积
    //方法：getArea()

    String getArea1(){
        return length+"/"+width;
    }
    String getArea2(){
        return radius+"/"+3.14;
    }

}
